package com.polaris.live.adapter.live

import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.polaris.live.R
import com.polaris.live.resp.bean.TranslationBean

/**
 * TranslationTextAdapter
 *
 * @author Created by 半仙 on 2023/9/20/020 16:49
 */
class TranslationTextAdapter :
    BaseQuickAdapter<TranslationBean, BaseViewHolder>(R.layout.adapter_call_translation) {
    override fun convert(holder: BaseViewHolder, item: TranslationBean) {
        val textview = holder.getView<TextView>(R.id.item_translation_text)
        textview.text = item.content
    }

}